﻿
namespace Tanmia.Basis.Data
{
    /// <summary>
    /// This interfce works to fullfill database session management, whereas this interface control how the session will be closed, the ISessionGate controls how the session will be opened.
    /// </summary>
    /// <remarks>This interface is directed to the Presentation Layer only.</remarks>
    public interface ISessionManager
    {
        /// <summary>
        /// Close opened session of the current instance.
        /// No matter which session to close wheather Session or StatelessSession
        /// </summary>
        void Close();
    }
}
